<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/resources/global/jsp/init.jsp" />
<title>登陆界面</title>
<style type="text/css">
</style>
</head>
<script type="text/javascript">
	
	$(function() {
		$("#login").bind("click", function() {
			$.post('doNotNeedSecurityLogin.do', {
				name : $("#name").val(),
				pwd : $("#pwd").val()
			}, function(rsp) {
				if (rsp.success) {
					window.location = rsp.obj;
				} else {
					alert(rsp.msg);
				}
			}, 'json').error(function() {
				alert('系统发生错误');
			});
		});
	});
</script>
<body>
	<div id="center" style="text-align:center">
		<table style="width: 20%;margin:auto">
			<tr><td>用户名：</td><td><input type="text" name="name" id="name" value="lizebin"/></td></tr>
			<tr><td>密码：</td><td><input type="password" name="pwd" id="pwd" value="123456"/></td></tr>
			<tr><td colspan="2" style="text-align: center"><button name="login" id="login">login</button></td></tr>
		</table>
	</div>
</body>
</html>